public class Demofs6 {
    int size2(BinaryTree.TreeNode root) {
        if(root==null){
            return 0;
        }
        return size2(root.left) + size2(root.right)+1;
    }//子问题
}
